package com.client.service.impl;

import com.client.mapper.FlowerLanguageMapper;
import com.client.pojo.FlowerLanguage;
import com.client.service.FlowerLanguageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 晚云
 * @since 2023-09-12
 */
@Service
public class FlowerLanguageServiceImpl extends ServiceImpl<FlowerLanguageMapper, FlowerLanguage> implements FlowerLanguageService {

    @Autowired
    private FlowerLanguageMapper flowerLanguageMapper;

    /**
     * 根据商品id查询花语
     * @param goodId
     */
    @Override
    public FlowerLanguage queryById(String goodId) {
         FlowerLanguage flowerLanguage = flowerLanguageMapper.queryById(goodId);
         return flowerLanguage;
    }
}
